import { request } from '@/utils/request';

export function processTasks(type, data: API.HandleTaskResultItem) {
  return request(
    {
      url: `/manage/admin/task/xfjdjc/process/${type}`,
      method: 'post',
      data,
    },
    {
      isGetDataDirectly: false,
    },
  );
}
